9.8
CRITICAL CVSS 3.1
CVE-2026-32767
SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
Description

SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextSearchBlock endpoint. When the method parameter is set to 2, the endpoint passes user-supplied input directly as a raw SQL statement to the underlying SQLite database without any authorization or read-only checks. This allows any authenticated user — including those with the Reader role — to execute arbitrary SQL statements (SELECT, DELETE, UPDATE, DROP TABLE, etc.) against the application's database. This is inconsistent with the application's own security model: the dedicated SQL endpoint (/api/query/sql) correctly requires both CheckAdminRole and CheckReadonly middleware, but the search endpoint bypasses these controls entirely. This issue has been fixed in version 3.6.1.

INFO

Published Date :

March 20, 2026, 1:15 a.m.

Last Modified :

March 23, 2026, 3:23 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-32767 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 B3log siyuan
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
Solution
Update SiYuan to version 3.6.1 or later to fix the authorization bypass vulnerability.
  • Update SiYuan to version 3.6.1.
  • Apply security patches for SiYuan.
Public PoC/Exploit Available at Github

CVE-2026-32767 has a 10 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-32767.

URL Resource
https://github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5 Patch
https://github.com/siyuan-note/siyuan/issues/17209 Issue Tracking
https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1 Release Notes
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7 Exploit Mitigation Vendor Advisory
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7 Exploit Mitigation Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-32767 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile HTML Java

Updated: 1 day, 2 hours ago
0 stars 0 fork 0 watcher
Born at : April 10, 2026, 4:05 p.m. This repo has been linked 1 different CVEs too.

None

HTML CSS JavaScript Dockerfile

Updated: 2 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : March 22, 2026, 1:22 p.m. This repo has been linked 5 different CVEs too.

CI Build Container for Java Applications

Dockerfile Java

Updated: 2 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : March 21, 2026, 11:05 p.m. This repo has been linked 2 different CVEs too.

CI/CD supply chain security on a Single Node OpenShift cluster

Dockerfile HTML

Updated: 2 weeks, 4 days ago
0 stars 0 fork 0 watcher
Born at : March 20, 2026, 3:40 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 3 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : March 17, 2026, 8:01 p.m. This repo has been linked 2 different CVEs too.

None

JavaScript HTML Vue CSS Shell Dockerfile

Updated: 2 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Feb. 27, 2026, 1:45 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Python CSS JavaScript HTML Shell

Updated: 1 week ago
1 stars 0 fork 0 watcher
Born at : July 19, 2025, 9:26 p.m. This repo has been linked 6 different CVEs too.

None

Dockerfile Python CSS JavaScript HTML Shell

Updated: 1 week ago
1 stars 0 fork 0 watcher
Born at : July 19, 2025, 8:33 p.m. This repo has been linked 6 different CVEs too.

None

Dockerfile Python CSS JavaScript HTML Shell

Updated: 1 week ago
1 stars 0 fork 0 watcher
Born at : July 19, 2025, 7:23 p.m. This repo has been linked 6 different CVEs too.

A powerful Discord bot and web interface to manage Docker containers remotely. This application bridges the gap between Discord and your Docker environment, allowing container monitoring and control directly through Discord channels.

Dockerfile Python HTML Shell JavaScript CSS

Updated: 1 week, 1 day ago
9 stars 0 fork 0 watcher
Born at : May 21, 2025, 7:10 p.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-32767 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-32767 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 23, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* versions up to (excluding) 3.6.1
    Added Reference Type GitHub, Inc.: https://github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/siyuan-note/siyuan/issues/17209 Types: Issue Tracking
    Added Reference Type GitHub, Inc.: https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1 Types: Release Notes
    Added Reference Type GitHub, Inc.: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7 Types: Exploit, Mitigation, Vendor Advisory
    Added Reference Type CISA-ADP: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7 Types: Exploit, Mitigation, Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 20, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7
  • New CVE Received by [email protected]

    Mar. 20, 2026

    Action Type Old Value New Value
    Added Description SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextSearchBlock endpoint. When the method parameter is set to 2, the endpoint passes user-supplied input directly as a raw SQL statement to the underlying SQLite database without any authorization or read-only checks. This allows any authenticated user — including those with the Reader role — to execute arbitrary SQL statements (SELECT, DELETE, UPDATE, DROP TABLE, etc.) against the application's database. This is inconsistent with the application's own security model: the dedicated SQL endpoint (/api/query/sql) correctly requires both CheckAdminRole and CheckReadonly middleware, but the search endpoint bypasses these controls entirely. This issue has been fixed in version 3.6.1.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-89
    Added CWE CWE-863
    Added Reference https://github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5
    Added Reference https://github.com/siyuan-note/siyuan/issues/17209
    Added Reference https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1
    Added Reference https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.